package com.tdkj.model.bbs;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * EjfVisitStat entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "ejf_visit_stat", catalog = "west")
public class EjfVisitStat implements java.io.Serializable {

	// Fields

	private String statDate;
	private Integer topics;
	private Integer replies;
	private Integer users;
	private Integer visits;

	// Constructors

	/** default constructor */
	public EjfVisitStat() {
	}

	/** minimal constructor */
	public EjfVisitStat(String statDate) {
		this.statDate = statDate;
	}

	/** full constructor */
	public EjfVisitStat(String statDate, Integer topics, Integer replies, Integer users, Integer visits) {
		this.statDate = statDate;
		this.topics = topics;
		this.replies = replies;
		this.users = users;
		this.visits = visits;
	}

	// Property accessors
	@Id
	@Column(name = "statDate", unique = true, nullable = false, length = 10)
	public String getStatDate() {
		return this.statDate;
	}

	public void setStatDate(String statDate) {
		this.statDate = statDate;
	}

	@Column(name = "topics")
	public Integer getTopics() {
		return this.topics;
	}

	public void setTopics(Integer topics) {
		this.topics = topics;
	}

	@Column(name = "replies")
	public Integer getReplies() {
		return this.replies;
	}

	public void setReplies(Integer replies) {
		this.replies = replies;
	}

	@Column(name = "users")
	public Integer getUsers() {
		return this.users;
	}

	public void setUsers(Integer users) {
		this.users = users;
	}

	@Column(name = "visits")
	public Integer getVisits() {
		return this.visits;
	}

	public void setVisits(Integer visits) {
		this.visits = visits;
	}

}